<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="jquery/jquery1.9/jquery-1.9.0.js"></script>
    <script>
        window.onload=function(){
            $("p").css("background","red");
        };
        
    </script>
</head>
<body>
    <p>p1</p>
    <div>div</div>
</body>
</html>